<script type="text/javascript" >
    stSocialMediaToolbox.load_tooltip();
    stSocialMediaToolbox.on_submitform('#userForm', function(){
        jQuery.prettyPhoto.close();
    });
</script>
<div class="w100p bgl" id="stcontainer">
    <div class="w100p bgr p5b">
        
        <form class="stform" id="userForm" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >
            <ul>
                <li>
                    <label><?php _e('User name', $config['plugin_name']); ?>:</label>
                    <div>
                        <input  value="<?php echo $userData->user_login ?>" disabled type="text"/>
                        <input  value="<?php echo $userData->user_login ?>" name="data[user_name]" id="user_name" type="hidden"/>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('Email', $config['plugin_name']); ?>:</label>
                    <div>
                        <input value="<?php echo $userData->user_email ?>" disabled type="text"/>
                        <input value="<?php echo $userData->user_email ?>" class="required email" name="data[user_email]" id="user_email" type="hidden"/>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('User Level', $config['plugin_name']); ?>:</label>
                    <div>
                        <input value="<?php echo $role ?>" disabled type="text"/>
                        <input value="<?php echo $role ?>" id="user_role" name="data[user_role]" type="hidden"/>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('Client name', $config['plugin_name']); ?>:</label>
                    <div >
                        <input value="<?php echo $clientName?>" disabled type="text"/>
                        <input value="<?php echo $clientName?>" name="data[client_name]" id="client_name" type="hidden"/>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('Subject', $config['plugin_name']); ?>:</label>
                    <div class="required">
                        <input value="" name="data[subject]" id="subject" type="text"/>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('Select Toolbox', $config['plugin_name'])?>:</label>
                    <div class="required">
                        <select class="required" id="toolbox_name" name="data[toolbox_name]">
                            <option value=""><?php _e('Select a toolbox', $config['plugin_name'])?></option>
                            <?php foreach ($addons as $key => $value) {?>
                            <option  value="<?php echo str_replace('st', '', $key) ?>">
                            <?php echo str_replace('st', '', $key) ?>
                            </option>
                            <?php }?>
                        </select>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('Support request', $config['plugin_name']); ?>:</label>
                    <div class="required">
                        <textarea class="required" name="data[description]" cols="5" rows="5"
                                      id="description" ></textarea>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <input type="submit" value="Submit"/>
                </li>
            </ul>
        </form>
    </div>
</div>
